/**
 * 日志工具类
 */
import hilog from '@ohos.hilog';
export class LogUtil {
  private static readonly domain: number = 0x6688;
  private static readonly LOG_TAG: string = "KKMeiTuLog";

  // 常规日志信息
  static info = (format: string, ...args: any[]) => {
    hilog.info(LogUtil.domain, LogUtil.LOG_TAG, format, args);
  }
  // 错误日志信息
  static error = (format: string, ...args: any[]) => {
    hilog.error(LogUtil.domain, LogUtil.LOG_TAG, format, args);
  }
}